<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://displaytag.sf.net/el" prefix="display"%>
<%@ taglib uri="/WEB-INF/config/tld/fmt.tld" prefix="fmt"%>
<%@ taglib uri="http://ssh.org/selects" prefix="ssh"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path;
	String applicationPath = basePath + "/" + "application";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title></title>
		<link href="<%=path%>/css/jinmu_style.css" rel="stylesheet"
			type="text/css" />
		<script language="javascript" src="<%=path%>/js/util.js"></script>
		<script type='text/javascript'
			src='<%=path%>/frame/orgSelect/js/ajaxInitSelect.js'></script>
		<script language="javascript" src="<%=path%>/js/SyncCommon.js"></script>
	</head>
	<body>
		<html:form styleId="summary2moonForm" action="updateSummary2moon.do?method=dfSummary2moon"
			onsubmit="return save();">
			<input type ="hidden" name="id" id="id" value="${summary2moon.id}"/>
			<table cellspacing="0" cellpadding="0" width="98%" align="center"
				border="0" class="margtb5">
				<tr>
					<td align="left" class="padl5 lan12">
						<img src="<%=path%>/images/img-11.gif" width="12" height="12">
						研发辅助 &gt; 领导月总结管理 &gt; 查看
					</td>
				</tr>
			</table>


						<table cellspacing="1" cellpadding="0" width="98%" align="center"
				border="0" class="bgcolor2 margb5">

				<tr class="bgcolor">
					<td width="18%" align="right" class="zi13">
						<bean:message
							key="com.application.summary2moon.entity.summary2moon.createpage.syear"
							bundle="summary2moonKey" />
						：
					</td>
					<td width="32%" align="left" class="pad2 zi13">
						${summary2moon.syear}

					</td>
					
					<td width="18%" align="right" class="zi13">
						<bean:message
							key="com.application.summary2moon.entity.summary2moon.createpage.smoon"
							bundle="summary2moonKey" />
						：
					</td>
					<td width="32%" align="left" class="pad2 zi13">
						${summary2moon.smoon}
				
					</td>
				</tr>
				<tr class="bgcolor">
					<td width="18%" align="right" class="zi13">
						<bean:message
							key="com.application.summary2moon.entity.summary2moon.createpage.post"
							bundle="summary2moonKey" />
						：
					</td>
					<td width="32%" align="left" class="pad2 zi13">
						${summary2moon.post}
					</td>
					
					<td width="18%" align="right" class="zi13">
						<bean:message
							key="com.application.summary2moon.entity.summary2moon.createpage.operateid"
							bundle="summary2moonKey" />
						：
					</td>
					<td width="32%" align="left" class="pad2 zi13">
						
						${summary2moon.uname}
						
						</td>
				</tr>
				<tr class="bgcolor">
					<td width="18%" align="right" class="zi13">
						<bean:message
							key="com.application.summary2moon.entity.summary2moon.createpage.orgid"
							bundle="summary2moonKey" />
						：
					</td>
					<td width="32%" align="left" class="pad2 zi13">
						${summary2moon.orgname}
					</td>
					<td width="18%" align="right" class="zi13">
						上传时间： 
					</td>
					<td width="32%" align="left" class="pad2 zi13">
						<bean:write name="summary2moon" property="createdate" format="yyyy-MM-dd"/>
					</td>
				</tr>

				<tr class="bgcolor">
					<td width="18%" align="right" class="zi13">
						<bean:message
							key="com.application.summary2moon.entity.summary2moon.createpage.suminfo"
							bundle="summary2moonKey" />
						：
					</td>
					<td width="32%" align="left" class="pad2 zi13" colspan="3">
					${summary2moon.suminfo}
					</td>
				</tr>
				<tr class="bgcolor">
					<td width="18%" align="right" class="zi13">
						<bean:message
							key="com.application.summary2moon.entity.summary2moon.createpage.planinfo"
							bundle="summary2moonKey" />
						：
					</td>
					<td width="32%" align="left" class="pad2 zi13" colspan="3">
					${summary2moon.planinfo}
					</td>
				</tr>
				<tr class="bgcolor">
					<td width="18%" align="right" class="zi13">
						<bean:message
							key="com.application.summary2moon.entity.summary2moon.createpage.df"
							bundle="summary2moonKey" />
						：
					</td>
					<td width="32%" align="left" class="pad2 zi13" colspan="3">
					<c:if test="${kg=='k'}">
						<input type="text" id="df" name="df" flag="true"
							valid="required|isNumber" errMsg="请输入分值！|请输入正确分值！"  size="30" value="${summary2moon.df}"/>
					</c:if>
					<c:if test="${kg=='g'}">
						${summary2moon.df}
					</c:if>
					</td>
				</tr>
				<tr class="bgcolor">
					<td width="18%" align="right" class="zi13">
						评语
						：
					</td>
					<td width="32%" align="left" class="pad2 zi13" colspan="3">
					<c:if test="${kg=='k'}">
					<textarea id="bak1" name="bak1" flag="true"   max="100" valid="required|limitLength" errMsg="请输入评语！|评语不得超过100个汉字！" cols="50" rows="5">${summary2moon.bak1}</textarea>
					</c:if>
					<c:if test="${kg=='g'}">
						${summary2moon.bak1}
					</c:if>
					
					</td>
				</tr>
			</table>
			<p>
			<p>
			<p>
			<table width="98%" align="center" border="0" cellspacing="0"
				cellpadding="0">
				<tr>
					<td align="center"><c:if test="${kg=='k'}">
						<input class="buttonbg" id="but_save" type="submit" style="cursor: hand" value="打分" name="but_save" />
							</c:if>
						<input class="buttonbg" id="but_return" style="cursor: hand"
							type="button"
							value="<bean:message key='com.manager.common.summary2moon.return' bundle="summary2moonKey"/>"
							name="but_return" onClick="javascript:history.go(-1);" />
					</td>
				</tr>
			</table>

		</html:form>
	</body>
</html>


<script>

function save(){
   if(validateForm(document.forms[0],'Y'))
   {
	return true;
    }else{
	return false;
    }
}
</script>





